import wxHttp from "@/utils/wxRequest";

export function wayGroupDelete(id) {
  return wxHttp.get('/wxqy/qrcode/group/delete', {groupId: id})
}

export function wayGroupList() {
  return wxHttp.get('/wxqy/qrcode/group/list')
}

export function wayGroupAdd(params) {
  return wxHttp.post('/wxqy/qrcode/group/add', params)
}

export function contactWayAdd(params) {
  return wxHttp.jsonPost('/wxqy/qrcode/add', params)
}

export function contactWayDelete(id) {
  return wxHttp.post('/wxqy/qrcode/delete', {qrcodeId: id})
}

export function contactWay(id) {
  return wxHttp.post('/wxqy/qrcode/find/' + id)
}

export function editGreet(vo) {
  return wxHttp.jsonPost('/wxqy/greet/edit', vo);
}

export function addGreet(vo) {
  return wxHttp.jsonPost('/wxqy/greet/add', vo);
}

export function deleteGreet(id) {
  return wxHttp.post('/wxqy/greet/add', {id});

}export function findGreet(id) {
  return wxHttp.get('/wxqy/greet/find', {id});
}
